package com.ojoin.ojoin.eb_spider.service.impl;

import com.ojoin.ojoin.eb_spider.service.QueueService;
import com.ojoin.trade.common.utils.LogUtils;
import org.openqa.selenium.WebDriver;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

@Service("queueChrome")
@Scope("prototype")
public class QueueChromeWebDriverServiceimpl extends ChromeWebDriverServiceimpl {
    /**
     *
     */
    private WebDriver webDriver;

    @Override
    public void setDriver(WebDriver driver) {
        this.webDriver = driver;
    }

    @Override
    public WebDriver getDriver() {
        return webDriver;
    }
}
